﻿using UnityEngine;
using System.Collections;

public class MockInput : MonoBehaviour {
	public bool inputDown = false;
	public UISprite target;
	public UISprite self;

	void OnDrag(Vector2 offset)
	{
		transform.localPosition += new Vector3(  offset.x, offset.y );
		if (inputDown)
		{
			target.SendMessage ("OnDrag", offset);
		}
	}
}
